package com.sali.asyncollection.service.impl.strategy.method1.thread;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ScoreGetThread extends Thread{

    private Long userId;
    public ScoreGetThread(Long userId){
        this.userId = userId;
    }
    public void run(){
        // 赠送积分
        log.info("赠送积分成功，用户是：{}", userId);
    }
}
